23 #define foreach(x, v) for (typeof (v).begin() x=(v).begin(); x !=(v).end(); ++x)
24 #define For(i, a, b) for (int i=(a); i<(b); ++i)
25 #define D(x) cout << #x " is " << x << endl
29 cin
>> a
[0] >> a
[1] >> n
;
32 int get
= __gcd(n
, a
[who
]);